package com.inno.subject.domain.convert;

import com.inno.subject.domain.entity.SubjectInfoBO;
import com.inno.subject.infra.basic.entity.PlannerSubjectInfo;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

@Mapper
public interface SubjectInfoConverter {
    SubjectInfoConverter INSTANCE = Mappers.getMapper(SubjectInfoConverter.class);
    PlannerSubjectInfo convertBOToEntity(SubjectInfoBO subjectInfoBO);
    SubjectInfoBO convertEntityToBO(PlannerSubjectInfo plannerSubjectInfo);

    List<SubjectInfoBO> convertEntityListToBOList(List<PlannerSubjectInfo> subjectInfoList);
}
